package com.hoongs.v1.service;

import com.hoongs.v1.dto.ProductPageDto;
import com.hoongs.v1.utils.Result;
import com.hoongs.v1.entity.Product;

public interface ProductService {

    Result add(Product product);

    Result remove(String id);

    Result update(Product product);

    Result selectById(String id);

    Result selectList(String name, String cate, String status);

    Result selectListByUser(String name, String cate, String status, String token);

    Result selectPageList(ProductPageDto productDto);
}
